<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html>
<html>

<head>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">


<title>- 基本表单</title>
<meta name="keywords" content="">
<meta name="description" content="">

<link rel="shortcut icon" href="favicon.ico">
<link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
<link href="css/plugins/iCheck/custom.css" rel="stylesheet">
<link href="css/animate.css" rel="stylesheet">
<link href="css/style.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg"> 
	<div class="wrapper wrapper-content animated fadeInRight">


		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5>书籍添加</h5>
					</div>
					<div class="ibox-content">
						<form method="post" class="form-horizontal"  action="UserInfoServlet?opr=addbook" enctype="multipart/form-data" >
							<div class="form-group">
								<label class="col-sm-2 control-label">书名:</label>

								<div class="col-sm-8">  
									<input type="text"  
										name=book_number placeholder="请输入书籍名称..." class="form-control">
								</div>
							</div> 
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">作者名称:</label>

								<div class="col-sm-8">  
									<input type="text"  
										name=book_user_name placeholder="请输入作者名称..." class="form-control">
								</div>
							</div>   
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">出版日期:</label>

								<div class="col-sm-8">  
									<input type="date"  
										name="book_date" class="form-control">
										
								</div>
							</div> 
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">书号:</label>

								<div class="col-sm-8">  
									<input type="text"  
										name=book_phone placeholder="请输入书号..." class="form-control">
								</div>
							</div> 
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">简介:</label>

								<div class="col-sm-8">  
									<textarea rows="20" cols="80" name="book_dateails">请填写简介</textarea> 
								</div>
							</div> 
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">请选择图片封面:</label>
								<div class="col-sm-8">
								     	<input type="file" name="filename"/>
								</div>
							</div>
							 
							<div class="hr-line-dashed"></div>
							<div class="form-group">
								<div class="col-sm-12 col-sm-offset-5">
									<button class="btn btn-primary" type="submit">发布书籍</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>



	<!-- 全局js -->
	<script src="js/jquery.min.js?v=2.1.4"></script>
	<script src="js/bootstrap.min.js?v=3.3.6"></script>

	<!-- 自定义js -->
	<script src="js/content.js?v=1.0.0"></script>

	<!-- iCheck -->
	<script src="js/plugins/iCheck/icheck.min.js"></script>
	<script>
		$(document).ready(function() {
			$('.i-checks').iCheck({
				checkboxClass : 'icheckbox_square-green',
				radioClass : 'iradio_square-green',
			});
		});
	</script>




</body>

</html>
